#ifndef __MCU_H
#define __MCU_H

//----------------------------------Include-------------------------------------
#include <stdint.h>
#include <stdbool.h>
#include "stm32h7xx.h"
#include "stm32h7xx_ll_gpio.h"
#include "stm32h7xx_ll_tim.h"
#include "stm32h7xx_ll_usart.h"
//------------------------------------------------------------------------------
#include "mcu_misc.h"
#include "mcu_clk.h"
#include "mcu_systick.h"
#include "mcu_dio.h"
#include "mcu_uart.h"
#include "mcu_adc.h"
#include "mcu_tim.h"
//#include "mcu_wdt.h"
//------------------------------------------------------------------------------

//-----------------------------------Macro--------------------------------------
//------------------------------------------------------------------------------

//----------------------------------Declare-------------------------------------
//以下函数在 stm32h7xx_ll_rcc.c 中实现，但是没有在 stm32h7xx_ll_rcc.h 声明
uint32_t RCC_GetSystemClockFreq(void);
uint32_t RCC_GetHCLKClockFreq(uint32_t SYSCLK_Frequency);
uint32_t RCC_GetPCLK1ClockFreq(uint32_t HCLK_Frequency);
uint32_t RCC_GetPCLK2ClockFreq(uint32_t HCLK_Frequency);
uint32_t RCC_GetPCLK3ClockFreq(uint32_t HCLK_Frequency);
uint32_t RCC_GetPCLK4ClockFreq(uint32_t HCLK_Frequency);
//------------------------------------------------------------------------------

#endif
//------------------------------------EOF---------------------------------------










